import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SeqIntHelper } from "./SeqIntHelper";
type int = number;
//class SArenaFinaRing
    
    export  class SArenaFinaRing
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.arenaId);
            arg1.writeInt(this.entityId);
            arg1.writeString(this.name);
            arg1.writeInt(this.level);
            SeqIntHelper.write(arg1, this.rings);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.arenaId = arg1.readInt();
            this.entityId = arg1.readInt();
            this.name = arg1.readString();
            this.level = arg1.readInt();
            this.rings = SeqIntHelper.read(arg1);
            return;
        }

        public /* var */arenaId: int;

        public /* var */entityId: int;

        public /* var */name: string;

        public /* var */level: int;

        public /* var */rings: Array<any>;
    }
